# $NetBSD: files.drm,v 1.2 2007/03/28 11:29:37 jmcneill Exp $
# $OpenBSD: files.drm,v 1.32 2015/04/05 11:53:53 kettenis Exp $

# direct rendering modules
define drmbase {[console = -1]}
device drm: drmbase
attach drm at drmbase
file   dev/pci/drm/drm_agpsupport.c	drm & agp
file   dev/pci/drm/drm_drv.c		drm	needs-flag
file   dev/pci/drm/drm_global.c		drm
file   dev/pci/drm/drm_hashtab.c	drm
file   dev/pci/drm/drm_irq.c		drm
file   dev/pci/drm/drm_memory.c		drm
file   dev/pci/drm/drm_mm.c		drm
file   dev/pci/drm/drm_crtc.c		drm
file   dev/pci/drm/drm_modes.c		drm
file   dev/pci/drm/drm_crtc_helper.c	drm
file   dev/pci/drm/drm_edid.c		drm
file   dev/pci/drm/drm_dp_helper.c	drm
file   dev/pci/drm/drm_fb_helper.c	drm
file   dev/pci/drm/drm_linux.c		drm

define	ttm
file	dev/pci/drm/ttm/ttm_agp_backend.c	ttm & agp
file	dev/pci/drm/ttm/ttm_bo.c		ttm
file	dev/pci/drm/ttm/ttm_bo_manager.c	ttm
file	dev/pci/drm/ttm/ttm_bo_util.c		ttm
file	dev/pci/drm/ttm/ttm_bo_vm.c		ttm
file	dev/pci/drm/ttm/ttm_execbuf_util.c	ttm
file	dev/pci/drm/ttm/ttm_lock.c		ttm
file	dev/pci/drm/ttm/ttm_memory.c		ttm
file	dev/pci/drm/ttm/ttm_object.c		ttm
file	dev/pci/drm/ttm/ttm_page_alloc.c	ttm
file	dev/pci/drm/ttm/ttm_tt.c		ttm

device	inteldrm: drmbase, wsemuldisplaydev, rasops32, i2cbus, i2c_bitbang
attach	inteldrm at drmdev
file	dev/pci/drm/i915/i915_dma.c		inteldrm
file	dev/pci/drm/i915/i915_drv.c		inteldrm
file	dev/pci/drm/i915/i915_gem.c		inteldrm
file	dev/pci/drm/i915/i915_gem_context.c	inteldrm
file	dev/pci/drm/i915/i915_gem_evict.c	inteldrm
file	dev/pci/drm/i915/i915_gem_execbuffer.c	inteldrm
file	dev/pci/drm/i915/i915_gem_gtt.c		inteldrm
file	dev/pci/drm/i915/i915_gem_tiling.c	inteldrm
file	dev/pci/drm/i915/i915_irq.c		inteldrm
file	dev/pci/drm/i915/i915_suspend.c		inteldrm
file	dev/pci/drm/i915/intel_bios.c		inteldrm
file	dev/pci/drm/i915/intel_crt.c		inteldrm
file	dev/pci/drm/i915/intel_ddi.c		inteldrm
file	dev/pci/drm/i915/intel_display.c	inteldrm
file	dev/pci/drm/i915/intel_dp.c		inteldrm
file	dev/pci/drm/i915/intel_dvo.c		inteldrm
file	dev/pci/drm/i915/intel_fb.c		inteldrm
file	dev/pci/drm/i915/intel_hdmi.c		inteldrm
file	dev/pci/drm/i915/intel_i2c.c		inteldrm
file	dev/pci/drm/i915/intel_lvds.c		inteldrm
file	dev/pci/drm/i915/intel_modes.c		inteldrm
file	dev/pci/drm/i915/intel_opregion.c	inteldrm
file	dev/pci/drm/i915/intel_overlay.c	inteldrm
file	dev/pci/drm/i915/intel_panel.c		inteldrm
file	dev/pci/drm/i915/intel_pm.c		inteldrm
file	dev/pci/drm/i915/intel_ringbuffer.c	inteldrm
file	dev/pci/drm/i915/intel_sdvo.c		inteldrm
file	dev/pci/drm/i915/intel_sprite.c		inteldrm
file	dev/pci/drm/i915/intel_tv.c		inteldrm
file	dev/pci/drm/i915/dvo_ch7017.c		inteldrm
file	dev/pci/drm/i915/dvo_ch7xxx.c		inteldrm
file	dev/pci/drm/i915/dvo_ivch.c		inteldrm
file	dev/pci/drm/i915/dvo_ns2501.c		inteldrm
file	dev/pci/drm/i915/dvo_sil164.c		inteldrm
file	dev/pci/drm/i915/dvo_tfp410.c		inteldrm

device	radeondrm: drmbase, ttm, wsemuldisplaydev, rasops8, rasops32, i2cbus, i2c_bitbang
attach	radeondrm at pci
file	dev/pci/drm/radeon/atom.c			radeondrm
file	dev/pci/drm/radeon/atombios_crtc.c		radeondrm
file	dev/pci/drm/radeon/atombios_dp.c		radeondrm
file	dev/pci/drm/radeon/atombios_encoders.c		radeondrm
file	dev/pci/drm/radeon/atombios_i2c.c		radeondrm
file	dev/pci/drm/radeon/cayman_blit_shaders.c	radeondrm
file	dev/pci/drm/radeon/evergreen.c			radeondrm
file	dev/pci/drm/radeon/evergreen_blit_kms.c		radeondrm
file	dev/pci/drm/radeon/evergreen_blit_shaders.c	radeondrm
file	dev/pci/drm/radeon/evergreen_cs.c		radeondrm
file	dev/pci/drm/radeon/evergreen_hdmi.c		radeondrm
file	dev/pci/drm/radeon/ni.c				radeondrm
file	dev/pci/drm/radeon/r100.c			radeondrm
file	dev/pci/drm/radeon/r200.c			radeondrm
file	dev/pci/drm/radeon/r300.c			radeondrm
file	dev/pci/drm/radeon/r420.c			radeondrm
file	dev/pci/drm/radeon/r520.c			radeondrm
file	dev/pci/drm/radeon/r600.c			radeondrm
file	dev/pci/drm/radeon/r600_audio.c			radeondrm
file	dev/pci/drm/radeon/r600_blit_kms.c		radeondrm
file	dev/pci/drm/radeon/r600_blit_shaders.c		radeondrm
file	dev/pci/drm/radeon/r600_cs.c			radeondrm
file	dev/pci/drm/radeon/r600_hdmi.c			radeondrm
#file	dev/pci/drm/radeon/radeon_acpi.c		radeondrm
file	dev/pci/drm/radeon/radeon_agp.c			radeondrm
file	dev/pci/drm/radeon/radeon_asic.c		radeondrm
file	dev/pci/drm/radeon/radeon_atombios.c		radeondrm
file	dev/pci/drm/radeon/radeon_benchmark.c		radeondrm
file	dev/pci/drm/radeon/radeon_bios.c		radeondrm
file	dev/pci/drm/radeon/radeon_clocks.c		radeondrm
file	dev/pci/drm/radeon/radeon_combios.c		radeondrm
file	dev/pci/drm/radeon/radeon_connectors.c		radeondrm
file	dev/pci/drm/radeon/radeon_cs.c			radeondrm
file	dev/pci/drm/radeon/radeon_cursor.c		radeondrm
file	dev/pci/drm/radeon/radeon_device.c		radeondrm
file	dev/pci/drm/radeon/radeon_display.c		radeondrm
file	dev/pci/drm/radeon/radeon_encoders.c		radeondrm
file	dev/pci/drm/radeon/radeon_fb.c			radeondrm
file	dev/pci/drm/radeon/radeon_fence.c		radeondrm
file	dev/pci/drm/radeon/radeon_gart.c		radeondrm
file	dev/pci/drm/radeon/radeon_gem.c			radeondrm
file	dev/pci/drm/radeon/radeon_i2c.c			radeondrm
file	dev/pci/drm/radeon/radeon_irq_kms.c		radeondrm
file	dev/pci/drm/radeon/radeon_kms.c			radeondrm
file	dev/pci/drm/radeon/radeon_legacy_crtc.c		radeondrm
file	dev/pci/drm/radeon/radeon_legacy_encoders.c	radeondrm
file	dev/pci/drm/radeon/radeon_legacy_tv.c		radeondrm
file	dev/pci/drm/radeon/radeon_object.c		radeondrm
file	dev/pci/drm/radeon/radeon_pm.c			radeondrm
#file	dev/pci/drm/radeon/radeon_prime.c		radeondrm
file	dev/pci/drm/radeon/radeon_ring.c		radeondrm
file	dev/pci/drm/radeon/radeon_sa.c			radeondrm
file	dev/pci/drm/radeon/radeon_semaphore.c		radeondrm
file	dev/pci/drm/radeon/radeon_test.c		radeondrm
#file	dev/pci/drm/radeon/radeon_trace_points.c	radeondrm
file	dev/pci/drm/radeon/radeon_ttm.c			radeondrm
file	dev/pci/drm/radeon/rs400.c			radeondrm
file	dev/pci/drm/radeon/rs600.c			radeondrm
file	dev/pci/drm/radeon/rs690.c			radeondrm
file	dev/pci/drm/radeon/rv515.c			radeondrm
file	dev/pci/drm/radeon/rv770.c			radeondrm
file	dev/pci/drm/radeon/si.c				radeondrm
file	dev/pci/drm/radeon/si_blit_shaders.c		radeondrm
